#pragma once
#include "component.h"

namespace gui
{
/** A Label of Text */
class MLabel : public gui::Component
{
public:
    MLabel(const gui::Component* c) : gui::Component(c) {};

    /** Set/Get Label Text */
    void SetLabelText( const std::string &s ) { m_labelText = s; };
    std::string GetLabelText() { return m_labelText; };

    /* Render */
    void Render( IRender* r );

private:
    // label text
    std::string m_labelText;
public:
    virtual ~MLabel(void);
};

};
